<div class="row-fluid">
	<?= my_validation_errors(validation_errors()); ?>
	 <div class="span4" ></div>
	 	
	 <div class="span4">
<?= form_open('home/ingresar', array('class'=>'navbar-form pull-left')); ?>
	<legend> <h3> Ingreso al Sistema</h3> </legend>

	

	<div class="control-group">
		<?= form_label('Usuario', 'login', array('class'=>'control-label')); ?>
		 <div class="controls">	
		<?= form_input(array('type'=>'text', 'name'=>'login', 'id'=>'login', 'placeholder'=>'Login...', 'value'=>set_value('login'))); ?><i class="icon-user"></i>
	</div></div>

	<div class="control-group">
		<?= form_label('Contraseña', 'password', array('class'=>'control-label')); ?>
		 <div class="controls">	
		<?= form_input(array('type'=>'password', 'name'=>'password', 'id'=>'password', 'placeholder'=>'Pass...', 'value'=>set_value('password'))); ?><i class="icon-lock"></i>
	</div></div>

	<div class="form-actions">
		<?= form_button(array('type'=>'submit', 'content'=>'Ingresar', 'class'=>'btn btn-success')); ?>
		<?= anchor('home/index', 'Cancelar', array('class'=>'btn btn-inverse')); ?>
	</div>
</div>
<div class="span4"></div>
</div>

<?= form_close(); ?>
